<?php

namespace app\customer\controller;
use app\common\controller\PCBase;
use app\customer\logic\EmailTagLogic;
use  think\App;
class EmailTag extends PCBase
{

    /**
     * @desc   获取标签新增接口
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function addTagList(){
        $params     = $this->request->post();
        return  (new EmailTagLogic())->addTagList($params);
    }

    /**
     * @desc   获取标签新增
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function addTag(){
        $params                   = $this->request->post();
        $params['operate_id']     = $this->getAdminId();
        return  (new EmailTagLogic())->addTag($params);
    }

    /**
     * @desc   获取标签删除任务
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function addDelTag(){
        $params                   = $this->request->post();
        $params['operate_id']     = $this->getAdminId();
        return  (new EmailTagLogic())->addDelTag($params);
    }


    /**
     * @desc   获取删除任务列表接口
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function delTagList(){
        $params     = $this->request->post();
        return  (new EmailTagLogic())->delTagList($params);
    }


    /**
     * @desc   获取标签的下来列表
     * @author luckyXiong
     * @date   2025-01-24
     */
    public function getTagList(){
        $params     = $this->request->post();
        return  (new EmailTagLogic())->getTagList($params);
    }





}